package com.sky;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@EnableScheduling //定时任务
@EnableCaching //spring cache框架缓存注解 简洁代码
@SpringBootApplication //Spring框架注解 包含7个注解前4个为定义注解所需 后三个是全参满参扫描
@EnableTransactionManagement //开启注解方式的事务管理
public class SkyApplication {
    public static void main(String[] args) {
        SpringApplication.run(SkyApplication.class, args);
        log.info("server started--->Go Go Go");
    }
}
